GCC = g++
CPPFLAGS = -g -finline-functions -Wall -Winline -pipe -DOS_LINUX
HEAD_INFO = -DPROJECT_NAME="\"FASTSEARCH\"" -DDESCRIPTION="\"FastSearch indexer\""
	  
INCLUDES = -I./ -I../../common/commonlib/output/include \
	   -I../../common/descriptorManager \
	   -I../../common/termindex/ \
	   -I../../common/sign/

LIBS     = -L./ -L../../common/commonlib/output/lib -lcommonlib \
	   -L../../common/sign/ -lsign \
	   -L../../common/descriptorManager -ldescriptorManager \
	   -lpthread

OUTPUTLIB = libunitResource.a

all : output

output : $(OUTPUTLIB)

$(OUTPUTLIB) : unitResource.o
	$(AR) -rcv $@ $^
	

%.o     : %.cpp
	$(GCC) $(CPPFLAGS) -c $< -o $@ $(INCLUDES)


clean :
	rm -f *.a *.o unitResource

